CtlHTMLSetColors

The CtlHTMLSetColors function sets the control colors to the current system colors.

void CtlHTMLSetColors( );

Description

Use the CtlHTMLSetColors function to set the control colors to the current system colors. This function should be called in response to the WM_SYSCOLORCHANGE message. Note that the library will work fine without handling this message, but the control colors may be wrong if the user changes the Windows color scheme while your program is running. For example with MFC:


void CMainFrame::OnSysColorChange ()
{
   CFrameWnd::OnSysColorChange ();
   CtlHTMLSetColors();  // call to change the color of the CtlHTML Control Library graphics
}

Copyright ⌐ 1999, Windmill Point Software. All Rights Reserved.
Last Updated May 19, 1999